package proj.euler;

import junit.framework.Assert;

import org.junit.Test;

public class P3Test {
	@Test
	public void testCalcLargestPrimeFactor13195() {
		Assert.assertEquals(29, P3.calcLargestPrimeFactor(13195));
	}

	@Test
	public void testCalcLargestPrimeFactor600851475143() {
		Assert.assertEquals(29, P3.calcLargestPrimeFactor(600851475143l));
	}
}
